package com.tedu.ds.employee.mapper;

import com.tedu.ds.employee.pojo.dto.EmployeeQuery;
import com.tedu.ds.employee.pojo.entity.Employee;

import com.tedu.ds.employee.pojo.vo.EmployeeVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmployeeMapper {
    void insert(Employee employees);

    void update(Employee employees);

    void deleteById(Long id);

    Employee selectByUsername(String username);

    List<EmployeeVO> select(EmployeeQuery employeeQuery);
}
